package top.ywlog.permission.common.request;

import lombok.Getter;
import lombok.Setter;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

/**
 * @author: Durian
 * @date: 2020/10/21 22:07
 * @description:
 */
@Getter
@Setter
@Validated
public class LoginParam
{
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
}
